GUI Help > Special > addStandardToolbarButtons

addStandardToolbarButtons
addStandardToolbarButtons handle gadget

Description:
Adds a range of standard toolbar buttons such as open, save and new to a toolbar. If you wish to use these buttons, you should call addStandardToolbarButtons as soon as you create the toolbar. You can then use addToolbarButton to create the standard buttons, using image indicies specified by the constants file. For example:

toolbar=createToolbar(0)
addStandardToolbarButtons toolbar
addToolbarButton toolbar,TOOLBAR_OPEN
addToolbarButton toolbar,TOOLBAR_SAVE


Return Value:


Parameters:
gadget Handle to a toolbar gadget.
Remarks:


See Also:


Example:
(Note: You will need to include the GUI constants file for this example to work)